PreviousNextTracker indexSee it online !

(225/308) 1701 - MacroManager and macros with / in their name

There is a macro called "Replace XML/HTML tags". When I try to download it, I get this error:
11:43:03 AM \[Macro manager thread\] \[error\] Roster$Install: java.io.FileNotFoundException: /home/ezust/.jedit/macros/Replace_HTML/XML_tags.bsh (No such file or directory)
11:43:03 AM \[Macro manager thread\] \[error\] Roster$Install: at java.io.FileOutputStream.open(Native Method)
11:43:03 AM \[Macro manager thread\] \[error\] Roster$Install: at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
11:43:03 AM \[Macro manager thread\] \[error\] Roster$Install: at java.io.FileOutputStream.<init>(FileOutputStream.java:99)
11:43:03 AM \[Macro manager thread\] \[error\] Roster$Install: at macroManager.Roster$Install.download(Roster.java:187)
11:43:03 AM \[Macro manager thread\] \[error\] Roster$Install: at macroManager.Roster$Install.perform(Roster.java:123)
11:43:03 AM \[Macro manager thread\] \[error\] Roster$Install: at macroManager.Roster.performOperations(Roster.java:79)
11:43:03 AM \[Macro manager thread\] \[error\] Roster$Install: at macroManager.MacroManagerProgress$RosterThread.run(MacroManagerProgress.java:241)

Submitted ezust - 2013-03-09 19:45:39 Assigned
Priority 5 Labels
Status pending Group
Resolution fixed

Comments

2017-11-01 22:25:35.564000
ngc

Attached patch file will replace every file.separator occuring in a macro's filename with a "-".

Additionally I've replaced the deprecated Dialog.show() with setVisible(true).

I couldn't replace the deprecated thread.stop() which is used 4 times. Please someone else take over to get rid of those 4 warnings.

1701.diff (2.4Kio)

2017-11-01 22:26:27.393000
ngc

- **status**: open --> pending-fixed
- **Group**: -->